package com.hulman.oms.dao;

import com.hulman.oms.bean.YearReport;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author: maxwellens
 */
@Mapper
public interface YearReportDao
{
    List<YearReport> findYearReports(Map<String, Object> map);

    Integer findYearReportsCount(Map<String, Object> map);

    YearReport findYearReportById(Integer id);

    int insertYearReport(YearReport yearReport);

    void deleteYearReportById(Integer id);

    void deleteYearReports(int[] ids);

    int updateYearReport(YearReport yearReport);
}
